body{
    background: linear-gradient(200deg,#dad4ec,#f3e7e9);
}
.container{
    margin: 0 auto;
    width: 1000px;
    height: 3000px;
    background-color: white;
    position: relative;
    transition: transform 0.5s ease;
}
.topnav{
    margin: 0 auto;
    width: 400px;
}
.head_toLeft{
    width: 480px;
    height: 220px;
    background-color: white;
    float: left;
    position: relative;
}
.head_toLeft .img01 img{
    height: 200px;
    border: 3px solid white;
}
.img01{
    height: auto;
    width: 148.50px;
    border: 3px solid #1c90e7;
    margin: 0 0 0 20px;
    float: left;
}
.head_toLeft h2{
    font-size: 45px;
    font-family: '华文新魏';
    letter-spacing: 8px; 
    margin: 40px 0 0 25px;
    position: relative;
}
.head_toRight{
    width: 500px;
    height: 220px;
    float: left;
    display: flex;
    gap: 5px;
    padding-left: 20px;
    box-sizing: border-box;
    align-items: flex-start;
}
@keyframes expand {
0% {
width: 0px;
}
100% {
width: 80px;
}
}

.head_toLeft .line {
width: 0;
height: 8px; /* 直线的高度 */
background-color: black; /* 直线的颜色 */
animation: expand 1s ease forwards; /* 使用动画效果 */
position: absolute;
top: 58px;
left: 0px;
}

.forword{
    font-size: 28px;
    font-family: '华文新魏';
    letter-spacing: 0px; 
}
.name{
    width: 250px;
    height: 200px;
    float: left;
    position: relative;
    z-index: 1;
}

/* 设置段落首行的缩进 */
.forword span {
text-indent: -85px; /* 负值使文本向左移动 */
position: absolute;
top: 55px;
left: 280px;
z-index: 1;
opacity: 0;
transition: all 0.5s ease;

}
@keyframes disp {
    0% {
    opacity: 0;
    height: 0px;
    width: 0px;
    }
    100% {
        opacity: 1;
        height: 250px;
        width: 250px;
    }
    }
.img02{
    height: 250px;
    width: 250px;
    position: relative;
    left: 410px;
    z-index: 0;
    animation: disp 1s ease; /* 使用动画效果 */
}
.img02 img{
    height: 100%; /* 将图片高度设置为盒子高度，确保适应 */
    width: auto; /* 让宽度自适应，防止拉伸变形 */
    position: absolute; /* 将图片设置为绝对定位 */
    top: 0;
    left: 0;
    opacity: 10%;
}
.head_toRight ul{
    flex: 1;
    margin: 40px 0 0 0;
    padding: 0;
    list-style: none;
}
.head_toRight li{
    font-family: '华文细黑';
    font-size: 20px;
    display: flex; /* 设置 li 元素为弹性容器 */
    align-items: center; /* 垂直居中 */
    margin-bottom: 8px;
    color: #383838;
    font-weight: 600;
}
.head_toRight ul img{
    width: 42px;
    margin-right: 8px;
}